package lab01;

public class Test11 {
    public static void main(String[] args) {
        int k=0;
        int i=2;
        for(i=2;i<= 100;i++){
            if(i%2!=0&&i%3!=0&&i%5!=0&&i%7!=0){
                System.out.println(i);
                System.out.println('\t');
                k++;
                if(k%5==0){
                    System.out.println('\n');
                }
            }
        }
        }

}
